﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.View
{
    /// <summary>
    /// VIEW
    /// </summary>
    [Table("View_Base_Department")]
    public partial class View_Base_Department
    {

        /// <summary>
        /// 主键
        /// </summary>
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 否已删除
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 部门名
        /// </summary>
        public String Name { get; set; }

        /// <summary>
        /// 上级部门Id
        /// </summary>
        public String ParentId { get; set; }

        /// <summary>
        /// 机构类型
        /// </summary>
        public Int32? Type { get; set; }

        /// <summary>
        /// 法人
        /// </summary>
        public String Corporation { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public String Address { get; set; }

        /// <summary>
        /// 机构类型名称
        /// </summary>
        public String TypeName { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 公司ID
        /// </summary>
        public String SupplierId { get; set; }
    }
}